package cn.itrip.service.Impl;

import cn.itrip.dao.ItripUserLinkUserMapper;
import cn.itrip.entity.ItripUserLinkUser;
import cn.itrip.service.ItripUserLinkUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ItripUserLinkUserServiceImpl extends ServiceImpl<ItripUserLinkUserMapper,ItripUserLinkUser> implements ItripUserLinkUserService {
    @Override
    public boolean delUserLinkUserById(Integer id) {
        return baseMapper.delUserLinkUserById(id);
    }

    @Override
    public List<ItripUserLinkUser> getItripUserLinkUserListByMap(Long userId,String linkUserName) throws Exception {
        return baseMapper.getItripUserLinkUserListByMap(userId,linkUserName);
    }

    @Override
    public ItripUserLinkUser getUserLinkUserById(Long id) {
        return baseMapper.getUserLinkUserById(id);
    }
}
